#!/bin/bash

#! MUST:insert px4 mdoel first(ttyUSB0), the insert UWB(ttyUSB1)
#use "sudo chmod 777 /dev/ttyUSB/dev/ttyUSB0" to settle serial port issue

gnome-terminal --geometry=60x20+10+10 -- roslaunch offboard mavros_outdoor.launch & sleep 5
gnome-terminal --geometry=60x20+10+500 -- rosrun offboard offboard_mzy  & sleep 3
gnome-terminal --geometry=60x20+650+10 -- roslaunch nlink_parser linktrack.launch & sleep 1
gnome-terminal --geometry=60x20+650+10 -- rostopic echo /nlink_linktrack_nodeframe3
